package com.yisu.expressway.login;

/**
 * Created by zhouyang on 2016/7/19.
 */
public class UserInvalidHandler {
    private static OnInvlidUserListener mListener = null;
    public static void setInvalidListener(OnInvlidUserListener listener){
        mListener = listener;
    }

    public void invalidHappens(String reason){
        if (mListener != null){
            mListener.onLogoutToLogin(reason);
        }
    }
}
